package com.liuboya.dao.weibo.wbuser.entity;

import java.util.ArrayList;
import java.util.List;

public class WbUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer page;

    private Integer pageSize;

    private String groupByClause;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = groupByClause;
    }

    public WbUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andWeiboIdIsNull() {
            addCriterion("weiboId is null");
            return (Criteria) this;
        }

        public Criteria andWeiboIdIsNotNull() {
            addCriterion("weiboId is not null");
            return (Criteria) this;
        }

        public Criteria andWeiboIdEqualTo(Long value) {
            addCriterion("weiboId =", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdNotEqualTo(Long value) {
            addCriterion("weiboId <>", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdGreaterThan(Long value) {
            addCriterion("weiboId >", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdGreaterThanOrEqualTo(Long value) {
            addCriterion("weiboId >=", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdLessThan(Long value) {
            addCriterion("weiboId <", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdLessThanOrEqualTo(Long value) {
            addCriterion("weiboId <=", value, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdIn(List<Long> values) {
            addCriterion("weiboId in", values, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdNotIn(List<Long> values) {
            addCriterion("weiboId not in", values, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdBetween(Long value1, Long value2) {
            addCriterion("weiboId between", value1, value2, "weiboId");
            return (Criteria) this;
        }

        public Criteria andWeiboIdNotBetween(Long value1, Long value2) {
            addCriterion("weiboId not between", value1, value2, "weiboId");
            return (Criteria) this;
        }

        public Criteria andDescrIsNull() {
            addCriterion("descr is null");
            return (Criteria) this;
        }

        public Criteria andDescrIsNotNull() {
            addCriterion("descr is not null");
            return (Criteria) this;
        }

        public Criteria andDescrEqualTo(String value) {
            addCriterion("descr =", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrNotEqualTo(String value) {
            addCriterion("descr <>", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrGreaterThan(String value) {
            addCriterion("descr >", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrGreaterThanOrEqualTo(String value) {
            addCriterion("descr >=", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrLessThan(String value) {
            addCriterion("descr <", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrLessThanOrEqualTo(String value) {
            addCriterion("descr <=", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrLike(String value) {
            addCriterion("descr like", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrNotLike(String value) {
            addCriterion("descr not like", value, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrIn(List<String> values) {
            addCriterion("descr in", values, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrNotIn(List<String> values) {
            addCriterion("descr not in", values, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrBetween(String value1, String value2) {
            addCriterion("descr between", value1, value2, "descr");
            return (Criteria) this;
        }

        public Criteria andDescrNotBetween(String value1, String value2) {
            addCriterion("descr not between", value1, value2, "descr");
            return (Criteria) this;
        }

        public Criteria andVerifiedIsNull() {
            addCriterion("verified is null");
            return (Criteria) this;
        }

        public Criteria andVerifiedIsNotNull() {
            addCriterion("verified is not null");
            return (Criteria) this;
        }

        public Criteria andVerifiedEqualTo(String value) {
            addCriterion("verified =", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedNotEqualTo(String value) {
            addCriterion("verified <>", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedGreaterThan(String value) {
            addCriterion("verified >", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedGreaterThanOrEqualTo(String value) {
            addCriterion("verified >=", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedLessThan(String value) {
            addCriterion("verified <", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedLessThanOrEqualTo(String value) {
            addCriterion("verified <=", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedLike(String value) {
            addCriterion("verified like", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedNotLike(String value) {
            addCriterion("verified not like", value, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedIn(List<String> values) {
            addCriterion("verified in", values, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedNotIn(List<String> values) {
            addCriterion("verified not in", values, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedBetween(String value1, String value2) {
            addCriterion("verified between", value1, value2, "verified");
            return (Criteria) this;
        }

        public Criteria andVerifiedNotBetween(String value1, String value2) {
            addCriterion("verified not between", value1, value2, "verified");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNull() {
            addCriterion("avatar is null");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNotNull() {
            addCriterion("avatar is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarEqualTo(String value) {
            addCriterion("avatar =", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotEqualTo(String value) {
            addCriterion("avatar <>", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThan(String value) {
            addCriterion("avatar >", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThanOrEqualTo(String value) {
            addCriterion("avatar >=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThan(String value) {
            addCriterion("avatar <", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThanOrEqualTo(String value) {
            addCriterion("avatar <=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLike(String value) {
            addCriterion("avatar like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotLike(String value) {
            addCriterion("avatar not like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarIn(List<String> values) {
            addCriterion("avatar in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotIn(List<String> values) {
            addCriterion("avatar not in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarBetween(String value1, String value2) {
            addCriterion("avatar between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotBetween(String value1, String value2) {
            addCriterion("avatar not between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andFollowersCountIsNull() {
            addCriterion("followersCount is null");
            return (Criteria) this;
        }

        public Criteria andFollowersCountIsNotNull() {
            addCriterion("followersCount is not null");
            return (Criteria) this;
        }

        public Criteria andFollowersCountEqualTo(Integer value) {
            addCriterion("followersCount =", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountNotEqualTo(Integer value) {
            addCriterion("followersCount <>", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountGreaterThan(Integer value) {
            addCriterion("followersCount >", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("followersCount >=", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountLessThan(Integer value) {
            addCriterion("followersCount <", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountLessThanOrEqualTo(Integer value) {
            addCriterion("followersCount <=", value, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountIn(List<Integer> values) {
            addCriterion("followersCount in", values, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountNotIn(List<Integer> values) {
            addCriterion("followersCount not in", values, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountBetween(Integer value1, Integer value2) {
            addCriterion("followersCount between", value1, value2, "followersCount");
            return (Criteria) this;
        }

        public Criteria andFollowersCountNotBetween(Integer value1, Integer value2) {
            addCriterion("followersCount not between", value1, value2, "followersCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountIsNull() {
            addCriterion("blogCount is null");
            return (Criteria) this;
        }

        public Criteria andBlogCountIsNotNull() {
            addCriterion("blogCount is not null");
            return (Criteria) this;
        }

        public Criteria andBlogCountEqualTo(Integer value) {
            addCriterion("blogCount =", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountNotEqualTo(Integer value) {
            addCriterion("blogCount <>", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountGreaterThan(Integer value) {
            addCriterion("blogCount >", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("blogCount >=", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountLessThan(Integer value) {
            addCriterion("blogCount <", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountLessThanOrEqualTo(Integer value) {
            addCriterion("blogCount <=", value, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountIn(List<Integer> values) {
            addCriterion("blogCount in", values, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountNotIn(List<Integer> values) {
            addCriterion("blogCount not in", values, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountBetween(Integer value1, Integer value2) {
            addCriterion("blogCount between", value1, value2, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogCountNotBetween(Integer value1, Integer value2) {
            addCriterion("blogCount not between", value1, value2, "blogCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountIsNull() {
            addCriterion("blogVideoCount is null");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountIsNotNull() {
            addCriterion("blogVideoCount is not null");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountEqualTo(Integer value) {
            addCriterion("blogVideoCount =", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountNotEqualTo(Integer value) {
            addCriterion("blogVideoCount <>", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountGreaterThan(Integer value) {
            addCriterion("blogVideoCount >", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("blogVideoCount >=", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountLessThan(Integer value) {
            addCriterion("blogVideoCount <", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountLessThanOrEqualTo(Integer value) {
            addCriterion("blogVideoCount <=", value, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountIn(List<Integer> values) {
            addCriterion("blogVideoCount in", values, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountNotIn(List<Integer> values) {
            addCriterion("blogVideoCount not in", values, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountBetween(Integer value1, Integer value2) {
            addCriterion("blogVideoCount between", value1, value2, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andBlogVideoCountNotBetween(Integer value1, Integer value2) {
            addCriterion("blogVideoCount not between", value1, value2, "blogVideoCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountIsNull() {
            addCriterion("repostCount is null");
            return (Criteria) this;
        }

        public Criteria andRepostCountIsNotNull() {
            addCriterion("repostCount is not null");
            return (Criteria) this;
        }

        public Criteria andRepostCountEqualTo(Integer value) {
            addCriterion("repostCount =", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountNotEqualTo(Integer value) {
            addCriterion("repostCount <>", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountGreaterThan(Integer value) {
            addCriterion("repostCount >", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("repostCount >=", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountLessThan(Integer value) {
            addCriterion("repostCount <", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountLessThanOrEqualTo(Integer value) {
            addCriterion("repostCount <=", value, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountIn(List<Integer> values) {
            addCriterion("repostCount in", values, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountNotIn(List<Integer> values) {
            addCriterion("repostCount not in", values, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountBetween(Integer value1, Integer value2) {
            addCriterion("repostCount between", value1, value2, "repostCount");
            return (Criteria) this;
        }

        public Criteria andRepostCountNotBetween(Integer value1, Integer value2) {
            addCriterion("repostCount not between", value1, value2, "repostCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountIsNull() {
            addCriterion("commentCount is null");
            return (Criteria) this;
        }

        public Criteria andCommentCountIsNotNull() {
            addCriterion("commentCount is not null");
            return (Criteria) this;
        }

        public Criteria andCommentCountEqualTo(Integer value) {
            addCriterion("commentCount =", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotEqualTo(Integer value) {
            addCriterion("commentCount <>", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountGreaterThan(Integer value) {
            addCriterion("commentCount >", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("commentCount >=", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountLessThan(Integer value) {
            addCriterion("commentCount <", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountLessThanOrEqualTo(Integer value) {
            addCriterion("commentCount <=", value, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountIn(List<Integer> values) {
            addCriterion("commentCount in", values, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotIn(List<Integer> values) {
            addCriterion("commentCount not in", values, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountBetween(Integer value1, Integer value2) {
            addCriterion("commentCount between", value1, value2, "commentCount");
            return (Criteria) this;
        }

        public Criteria andCommentCountNotBetween(Integer value1, Integer value2) {
            addCriterion("commentCount not between", value1, value2, "commentCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountIsNull() {
            addCriterion("likeCount is null");
            return (Criteria) this;
        }

        public Criteria andLikeCountIsNotNull() {
            addCriterion("likeCount is not null");
            return (Criteria) this;
        }

        public Criteria andLikeCountEqualTo(Integer value) {
            addCriterion("likeCount =", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountNotEqualTo(Integer value) {
            addCriterion("likeCount <>", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountGreaterThan(Integer value) {
            addCriterion("likeCount >", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("likeCount >=", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountLessThan(Integer value) {
            addCriterion("likeCount <", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountLessThanOrEqualTo(Integer value) {
            addCriterion("likeCount <=", value, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountIn(List<Integer> values) {
            addCriterion("likeCount in", values, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountNotIn(List<Integer> values) {
            addCriterion("likeCount not in", values, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountBetween(Integer value1, Integer value2) {
            addCriterion("likeCount between", value1, value2, "likeCount");
            return (Criteria) this;
        }

        public Criteria andLikeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("likeCount not between", value1, value2, "likeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountIsNull() {
            addCriterion("commentLikeCount is null");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountIsNotNull() {
            addCriterion("commentLikeCount is not null");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountEqualTo(Integer value) {
            addCriterion("commentLikeCount =", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountNotEqualTo(Integer value) {
            addCriterion("commentLikeCount <>", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountGreaterThan(Integer value) {
            addCriterion("commentLikeCount >", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("commentLikeCount >=", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountLessThan(Integer value) {
            addCriterion("commentLikeCount <", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountLessThanOrEqualTo(Integer value) {
            addCriterion("commentLikeCount <=", value, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountIn(List<Integer> values) {
            addCriterion("commentLikeCount in", values, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountNotIn(List<Integer> values) {
            addCriterion("commentLikeCount not in", values, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountBetween(Integer value1, Integer value2) {
            addCriterion("commentLikeCount between", value1, value2, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andCommentLikeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("commentLikeCount not between", value1, value2, "commentLikeCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountIsNull() {
            addCriterion("totalCount is null");
            return (Criteria) this;
        }

        public Criteria andTotalCountIsNotNull() {
            addCriterion("totalCount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalCountEqualTo(Integer value) {
            addCriterion("totalCount =", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountNotEqualTo(Integer value) {
            addCriterion("totalCount <>", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountGreaterThan(Integer value) {
            addCriterion("totalCount >", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("totalCount >=", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountLessThan(Integer value) {
            addCriterion("totalCount <", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountLessThanOrEqualTo(Integer value) {
            addCriterion("totalCount <=", value, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountIn(List<Integer> values) {
            addCriterion("totalCount in", values, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountNotIn(List<Integer> values) {
            addCriterion("totalCount not in", values, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountBetween(Integer value1, Integer value2) {
            addCriterion("totalCount between", value1, value2, "totalCount");
            return (Criteria) this;
        }

        public Criteria andTotalCountNotBetween(Integer value1, Integer value2) {
            addCriterion("totalCount not between", value1, value2, "totalCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountIsNull() {
            addCriterion("videoPlayCount is null");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountIsNotNull() {
            addCriterion("videoPlayCount is not null");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountEqualTo(Integer value) {
            addCriterion("videoPlayCount =", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountNotEqualTo(Integer value) {
            addCriterion("videoPlayCount <>", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountGreaterThan(Integer value) {
            addCriterion("videoPlayCount >", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("videoPlayCount >=", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountLessThan(Integer value) {
            addCriterion("videoPlayCount <", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountLessThanOrEqualTo(Integer value) {
            addCriterion("videoPlayCount <=", value, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountIn(List<Integer> values) {
            addCriterion("videoPlayCount in", values, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountNotIn(List<Integer> values) {
            addCriterion("videoPlayCount not in", values, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountBetween(Integer value1, Integer value2) {
            addCriterion("videoPlayCount between", value1, value2, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andVideoPlayCountNotBetween(Integer value1, Integer value2) {
            addCriterion("videoPlayCount not between", value1, value2, "videoPlayCount");
            return (Criteria) this;
        }

        public Criteria andAbilityIsNull() {
            addCriterion("ability is null");
            return (Criteria) this;
        }

        public Criteria andAbilityIsNotNull() {
            addCriterion("ability is not null");
            return (Criteria) this;
        }

        public Criteria andAbilityEqualTo(Integer value) {
            addCriterion("ability =", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityNotEqualTo(Integer value) {
            addCriterion("ability <>", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityGreaterThan(Integer value) {
            addCriterion("ability >", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityGreaterThanOrEqualTo(Integer value) {
            addCriterion("ability >=", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityLessThan(Integer value) {
            addCriterion("ability <", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityLessThanOrEqualTo(Integer value) {
            addCriterion("ability <=", value, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityIn(List<Integer> values) {
            addCriterion("ability in", values, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityNotIn(List<Integer> values) {
            addCriterion("ability not in", values, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityBetween(Integer value1, Integer value2) {
            addCriterion("ability between", value1, value2, "ability");
            return (Criteria) this;
        }

        public Criteria andAbilityNotBetween(Integer value1, Integer value2) {
            addCriterion("ability not between", value1, value2, "ability");
            return (Criteria) this;
        }

        public Criteria andFriendsCountIsNull() {
            addCriterion("friendsCount is null");
            return (Criteria) this;
        }

        public Criteria andFriendsCountIsNotNull() {
            addCriterion("friendsCount is not null");
            return (Criteria) this;
        }

        public Criteria andFriendsCountEqualTo(Integer value) {
            addCriterion("friendsCount =", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountNotEqualTo(Integer value) {
            addCriterion("friendsCount <>", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountGreaterThan(Integer value) {
            addCriterion("friendsCount >", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("friendsCount >=", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountLessThan(Integer value) {
            addCriterion("friendsCount <", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountLessThanOrEqualTo(Integer value) {
            addCriterion("friendsCount <=", value, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountIn(List<Integer> values) {
            addCriterion("friendsCount in", values, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountNotIn(List<Integer> values) {
            addCriterion("friendsCount not in", values, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountBetween(Integer value1, Integer value2) {
            addCriterion("friendsCount between", value1, value2, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andFriendsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("friendsCount not between", value1, value2, "friendsCount");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("createdTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("createdTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Long value) {
            addCriterion("createdTime =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Long value) {
            addCriterion("createdTime <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Long value) {
            addCriterion("createdTime >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("createdTime >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Long value) {
            addCriterion("createdTime <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Long value) {
            addCriterion("createdTime <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Long> values) {
            addCriterion("createdTime in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Long> values) {
            addCriterion("createdTime not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Long value1, Long value2) {
            addCriterion("createdTime between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Long value1, Long value2) {
            addCriterion("createdTime not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andExtraIsNull() {
            addCriterion("extra is null");
            return (Criteria) this;
        }

        public Criteria andExtraIsNotNull() {
            addCriterion("extra is not null");
            return (Criteria) this;
        }

        public Criteria andExtraEqualTo(String value) {
            addCriterion("extra =", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotEqualTo(String value) {
            addCriterion("extra <>", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThan(String value) {
            addCriterion("extra >", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraGreaterThanOrEqualTo(String value) {
            addCriterion("extra >=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThan(String value) {
            addCriterion("extra <", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLessThanOrEqualTo(String value) {
            addCriterion("extra <=", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraLike(String value) {
            addCriterion("extra like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotLike(String value) {
            addCriterion("extra not like", value, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraIn(List<String> values) {
            addCriterion("extra in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotIn(List<String> values) {
            addCriterion("extra not in", values, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraBetween(String value1, String value2) {
            addCriterion("extra between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andExtraNotBetween(String value1, String value2) {
            addCriterion("extra not between", value1, value2, "extra");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Long value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Long value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Long value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Long value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Long value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Long value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Long> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Long> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Long value1, Long value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Long value1, Long value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNull() {
            addCriterion("updated is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNotNull() {
            addCriterion("updated is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedEqualTo(Long value) {
            addCriterion("updated =", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotEqualTo(Long value) {
            addCriterion("updated <>", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThan(Long value) {
            addCriterion("updated >", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThanOrEqualTo(Long value) {
            addCriterion("updated >=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThan(Long value) {
            addCriterion("updated <", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThanOrEqualTo(Long value) {
            addCriterion("updated <=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedIn(List<Long> values) {
            addCriterion("updated in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotIn(List<Long> values) {
            addCriterion("updated not in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedBetween(Long value1, Long value2) {
            addCriterion("updated between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotBetween(Long value1, Long value2) {
            addCriterion("updated not between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("isDeleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("isDeleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Integer value) {
            addCriterion("isDeleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Integer value) {
            addCriterion("isDeleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Integer value) {
            addCriterion("isDeleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("isDeleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Integer value) {
            addCriterion("isDeleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("isDeleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Integer> values) {
            addCriterion("isDeleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Integer> values) {
            addCriterion("isDeleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Integer value1, Integer value2) {
            addCriterion("isDeleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("isDeleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}